package com.proxy.com.xu;/**
 * @ClassName: test
 * @Description: TODO
 * @Author: xudenghui
 * @Date: 2023-06-19 16:56
 */

import cn.hutool.core.collection.ListUtil;

import java.util.Arrays;
import java.util.List;

/**
 *
 * @author xudenghui
 * @create 2023-06-19 16:56
 **/
public class test {
    public static void main(String[] args) {
        List<String> splier = Arrays.asList("1","2","3","4","5","6","7","8","9","10","11");

        List<List<String>> partition = ListUtil.partition(splier, 3);
        System.out.println(partition);
    }
}



